#pragma once

#include "math/Plane.h"
#include "math/Transform.h"
#include "math/Viewport.h"
#include "math/Frustum.h"

namespace Math
{

    struct FrustumPlane
    {
        Plane topFace;
        Plane bottomFace;

        Plane rightFace;
        Plane leftFace;

        Plane farFace;
        Plane nearFace;
    
        bool Create(const Math::Transform& transform, const Math::Frustum& frustum);
        bool Create(const Math::Transform& transform, const Math::Viewport& vp);
    };
};